package cn.dkk.behavior_design.meditor;

/**
 * @author dkk
 * @date 2022/7/28
 * @desc 发送端
 */
public  class Producer implements Mediable{

    protected Mediator mediator;

    protected void sendMes(String mes){
        mediator.sendMes(mes);
    }

    public Producer(Mediator mediator) {
        this.mediator = mediator;
    }
}
